package cn.itsource.ymcc.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class RegisterVo {
    @NotNull(message = "手机号不能为空")
    private String mobile;
    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "手机验证验证码不能为空")
    private String smsCode;
    @Range(min = 0,max = 1,message = "参数异常")
    private Integer regChannel;
}
